package com.lastproject.dto;

import java.io.Serializable;
import java.util.List;

import javax.enterprise.inject.Model;

@Model
public class BookDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3714014023339499383L;

	private int id;
	private String name;
	private String author;
	private int year;
	private int idDomain;
	private String status;
	private List<Integer> waitingLists;
	private List<Integer> ratings;
	private List<Integer> reviews;
	private List<Integer> borroweds;
	
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public List<Integer> getBorroweds() {
		return borroweds;
	}

	public void setBorroweds(List<Integer> borroweds) {
		this.borroweds = borroweds;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}


	public int getIdDomain() {
		return idDomain;
	}

	public void setIdDomain(int idDomain) {
		this.idDomain = idDomain;
	}

	public List<Integer> getWaitingLists() {
		return waitingLists;
	}

	public void setWaitingLists(List<Integer> waitingLists) {
		this.waitingLists = waitingLists;
	}

	public List<Integer> getRatings() {
		return ratings;
	}

	public void setRatings(List<Integer> ratings) {
		this.ratings = ratings;
	}

	public List<Integer> getReviews() {
		return reviews;
	}

	public void setReviews(List<Integer> reviews) {
		this.reviews = reviews;
	}

	public int getYear() {
		return year;
	}

	public void setYear(int year) {
		this.year = year;
	}


}
